<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>京东导航栏</title>
	<link rel="stylesheet" href="./css/reset.css">

	<style>
		body {
			/* 设置一个网页的背景，以使我们方便查看 */
			background-color: #bfa;
		}

		.left-nav {
			/* 设置宽度 */
            width: 190px;
            /* 设置高度 */
            height: 450px;
            /* 设置padding */
            padding: 10px 0;
            /* 设置一个背景颜色 */
            background-color: #fff;
            margin: 50px auto;
		}

		.left-nav .item {
			height: 25px;
			line-height: 25px;
			font-size: 12px;
			padding-left: 18px;
		}

		/* 设置/的距离 */
        .item .line{
            padding: 0 2px;
        }

		.item:hover {
			background-color: #d9d9d9;
		}

		/* 设置超链接的样式 */
        .item a{
            /* 设置字体大小 */
            font-size: 14px;
            /* 设置字体的颜色 */
            color: #333;
            /* 去除下划线 */
            text-decoration: none;
        }

		.item a:hover {
			color: #c81623;
		}

	</style>
</head>

<body>
	<!-- 创建一个外部的容器 nav(div) div(div) ul(li)  -->
	<nav class="left-nav">
		<div class="item">
			<a href="#">家用电器</a>
		</div>

		<div class="item">
			<a href="#">手机</a><span class='line'>/</span><a href="#">运营商</a><span class='line'>/</span><a
				href="#">数码</a>
		</div>

		<div class="item">
			<a href="#">电脑</a><span class='line'>/</span><a href="#">办公</a>
		</div>

		<div class="item">
			<a href="#">家居</a><span class='line'>/</span><a href="#">家具</a><span class='line'>/</span><a
				href="#">家装</a><span class='line'>/</span><a href="#">厨具</a>
		</div>

		<div class="item">
			<a href="#">男装</a><span class='line'>/</span><a href="#">女装</a><span class='line'>/</span><a
				href="#">童装</a><span class='line'>/</span><a href="#">内衣</a>
		</div>

		<div class="item">
			<a href="#">美妆</a><span class='line'>/</span><a href="#">个护清洁</a><span class='line'>/</span><a
				href="#">宠物</a>
		</div>

		<div class="item">
			<a href="#">女鞋</a><span class='line'>/</span><a href="#">箱包</a><span class='line'>/</span><a
				href="#">钟表</a><span class='line'>/</span><a href="#">珠宝</a>
		</div>

		<div class="item">
			<a href="#">男鞋</a><span class='line'>/</span><a href="#">运动</a><span class='line'>/</span><a href="#">户外</a>
		</div>

		<div class="item">
			<a href="#">房产</a><span class='line'>/</span><a href="#">汽车</a><span class='line'>/</span><a
				href="#">汽车用品</a>
		</div>

		<div class="item">
			<a href="#">母婴</a><span class='line'>/</span><a href="#">玩具乐器</a>
		</div>

		<div class="item">
			<a href="#">食品</a><span class='line'>/</span><a href="#">酒类</a><span class='line'>/</span><a
				href="#">生鲜</a><span class='line'>/</span><a href="#">特产</a>
		</div>

		<div class="item">
			<a href="#">艺术</a><span class='line'>/</span><a href="#">礼品鲜花</a><span class='line'>/</span><a
				href="#">农资绿植</a>
		</div>

		<div class="item">
			<a href="#">医药保健</a><span class='line'>/</span><a href="#">计生情趣</a>
		</div>

		<div class="item">
			<a href="#">图书</a><span class='line'>/</span><a href="#">文娱</a><span class='line'>/</span><a
				href="#">电子书</a>
		</div>

		<div class="item">
			<a href="#">机票</a><span class='line'>/</span><a href="#">酒店</a><span class='line'>/</span><a
				href="#">旅游</a><span class='line'>/</span><a href="#">生活</a>
		</div>

		<div class="item">
			<a href="#">理财</a><span class='line'>/</span><a href="#">众筹</a><span class='line'>/</span><a
				href="#">白条</a><span class='line'>/</span><a href="#">保险</a>
		</div>

		<div class="item">
			<a href="#">安装</a><span class='line'>/</span><a href="#">维修</a><span class='line'>/</span><a
				href="#">清洗</a><span class='line'>/</span><a href="#">二手</a>
		</div>

		<div class="item">
			<a href="#">工业品</a>
		</div>


	</nav>
</body>

</html>